package cn.wolfcode.wolf2w.strategy.listener.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class StrategyCRUDEvent extends ApplicationEvent {

    private int type;  // 约定： 1>添加  2>更新 3>删除

    public StrategyCRUDEvent(Object source, int type) {
        super(source);
        this.type = type;
    }
}
